package org.gdpu.service;

import org.gdpu.base.DAO;
import org.gdpu.model.TestCategory;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-6-5
 * Time: 下午9:05
 * To change this template use File | Settings | File Templates.
 */
public interface TestCategoryService extends DAO {
    /**
     * 所有题型
     *
     * @return
     */
    public List<TestCategory> allTestCategory();
    /**
     * 查找题型
     */
    public TestCategory findTestCategory(String type);

    /**
     * 根据id找题型名
     * @param id id
     * @return 题型名
     */
    public String findTestCategoryById(String id);
}
